package com.wondersgroup.insurance.datalibrary;

import rx.Observable;
import rx.android.schedulers.AndroidSchedulers;

/**
 * Created by Administrator on 2017/7/12.
 */

public class DefaultTransform<T> implements Observable.Transformer<T, T> {
    @Override
    public Observable<T> call(Observable<T> tObservable) {
        return tObservable
//                .doOnError(throwable -> ))
                .observeOn(AndroidSchedulers.mainThread());
    }
}
